home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- global gDefaultPropList
- doButton()
- set vListPosition to the text of member "Checking Property getPos Input Field 1"
- set vListPosition to stripSpaces(vListPosition)
- set vListPosition to checkValue(vListPosition)
- if vListPosition <> EMPTY then
- if ilk(gDefaultPropList, #propList) then
- if vListPosition starts "#" then
- set vListPosition to value(vListPosition)
- end if
- set vGottenValue to getPos(gDefaultPropList, vListPosition)
- case 1 of
- symbolp(vGottenValue):
- set vGottenValue to "#" & string(vGottenValue)
- stringp(vGottenValue):
- otherwise:
- set vGottenValue to string(vGottenValue)
- end case
- set the text of member "Checking Property getPos Display Field 2" to vGottenValue
- end if
- end if
- end
-